#{extends 'main.html' /}
#{set 'moreStyles'}
     #{stylesheet 'story.css'/}
#{/set}
#{set title: story?.title /}

<div class="story_body">
	<div class="story_left">
		<div class="story_view_title">${story.title}</div>
		#{list story.sections , as: 's'}
			<div class="story_view_section">
				<div class="section_content">
					${s.content}
				</div>
				<div class="section_bottom">
					${s.pdate}
				</div>
			</div>
		#{/list}
	</div>
	<div class="story_right">
		<a href="@{sections.edit(null,story.id)}">续写</a>
		<a href="">导出</a>
	</div>
</div>